package cannot.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import cannot.pojo.Praise;
import cannot.pojo.PraiseExample;

@Mapper
public interface PraiseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Praise record);

    int insertSelective(Praise record);

    List<Praise> selectByExample(PraiseExample example);

    Praise selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Praise record);

    int updateByPrimaryKey(Praise record);
    
    Integer selectCountById(Integer id);
}